/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.resource.entity;

import com.lczyfz.istep.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 试卷题目管理Entity
 * @author lsj
 * @version 2017-03-14
 */
//ljskljflk
public class ResourcePaperQuestion extends DataEntity<ResourcePaperQuestion> {

	private static final long serialVersionUID = 1L;
	private String paperId;		// 试卷ID
	private String questionId;  // 题目ID
	//TODO:
	private ResourceQuestionOption option;

	public ResourceQuestionOption getOption() {
		return option;
	}

	public void setOption(ResourceQuestionOption option) {
		this.option = option;
	}



	public ResourcePaperQuestion() {
		super();
	}

	public ResourcePaperQuestion(String id){
		super(id);
	}



	@Length(min=1, max=8, message="试卷分数长度必须介于 1 和 8 之间")
	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}
	@Length(min=1, max=64, message="试卷ID长度必须介于 1 和 64 之间")
	public String getPaperId() {
		return paperId;
	}

	public void setPaperId(String paperId) {
		this.paperId = paperId;
	}
	@Length(min=1, max=64, message="题目ID长度必须介于 1 和 64 之间")
	public String getQuestionId() {
		return questionId;
	}

	public void setQuestionId(String questionId) {
		this.questionId = questionId;
	}

	public String getIsChoose() {
		return isChoose;
	}

	public void setIsChoose(String isChoose) {
		this.isChoose = isChoose;
	}

	private  int   score;		//试卷分数
	private String isChoose;




}